import { IPSAppView } from '../../app/view/ipsapp-view';
import { IPSTextBase } from '../ipstext-base';
import { IPSCodeListEditor } from './ipscode-list-editor';

/**
 *
 * 继承父接口类型值[SPAN,SPANEX,SPAN_LINK]
 * @export
 * @interface IPSSpan
 */
export interface IPSSpan extends IPSCodeListEditor, IPSTextBase {
  /**
   * 数据链接视图
   *
   * @type {IPSAppView}
   */
  getLinkPSAppView(): IPSAppView | null;

  /**
   * 数据链接视图
   *
   * @type {IPSAppView}
   */
  get linkPSAppView(): IPSAppView | null;

  /**
   * 数据链接视图（必须存在）
   *
   * @type {IPSAppView}
   */
  getLinkPSAppViewMust(): IPSAppView;

  /**
   * 浮点精度[PRECISION]
   * @type {number}
   */
  precision: number;

  /**
   * 支持链接视图[LINKVIEW]
   * @type {boolean}
   */
  enableLinkView: boolean;
}
